//
//  BeginLayer.h
//  identist
//
//  Created by Denveryee on 14-3-12.
//
//

#ifndef __identist__BeginLayer__
#define __identist__BeginLayer__

#include "cocos2d.h"
#include "cocos-ext.h"

USING_NS_CC;

class BeginLayer:public CCLayer
{
public:
    cocos2d::extension::CCArmature * doctor0;
    bool musicOn;//音乐
    bool soundOn;//音效
    int height;
     
    CCLayer *settingLayer;
    CCSprite *mohu;
    
    CCMenuItem* musicBtn;
    CCMenuItem* soundBtn;
    
    CCMenu* menuPlay;
public:
    BeginLayer();
    ~BeginLayer();
    
    CREATE_FUNC(BeginLayer);
    bool init();
    void menuPlayCallback();
    void menuSettingCallback();
    
    void settingMusicCallback();
    void settingSoundCallback();
    void settingClose();

};

#endif /* defined(__identist__BeginLayer__) */
